import 'dart:io';

import 'package:flutter_cache_manager/flutter_cache_manager.dart';

class GiftCache{
  static final CacheManager manager = CacheManager(Config("gift"));

  static Future<String> getPath(String url) async{
    File file = await manager.getSingleFile(url);
    return file.path;
  }
}